<?php
$this->breadcrumbs = array(
    '广告' =>$this->rewriteCreateUrl('admin', array('WebAdsmanage[sort]' => $_GET["WebAdsmanage"]["sort"], 'siteid' => $_GET[siteid])),
    '修改广告',
);
?><div class="box corners shadow">
    <div class="box-header">
        <h2>修改广告</h2>
        <div class="box-header-ctrls">	
            <a href="javascript:void(null);" title="" class="close"><!-- --></a>
        </div>
    </div>
    <div class="box-content">
        <div class="inbox-sf">
            <?php
            echo CHtml::link('<span>删除</span>', '#', array(
                'submit' => array('delete'),
                'class' => 'button black fr',
                'confirm' => '您确定要删除吗?'
            ));
            ?>  
            <a class="button black fr"  href=" <?php echo $this->rewriteCreateUrl('create', array('WebAdsmanage[sort]' => $_GET["WebAdsmanage"]["sort"], 'siteid' => $_GET[siteid])) ?>">
                <span>创建</span>
            </a>
            <a class="button black fr"  href=" <?php echo $this->rewriteCreateUrl('view', array('WebAdsmanage[sort]' => $_GET["WebAdsmanage"]["sort"], 'siteid' => $_GET[siteid],'id'=>$model->id)) ?>">
                <span>查看</span>
            </a>
            <a class="button black fr"  href=" <?php echo $this->rewriteCreateUrl('admin', array('WebAdsmanage[sort]' => $_GET["WebAdsmanage"]["sort"])) ?>">
                <span>广告列表</span>
            </a>
            </a>
        </div>
<?php echo $this->renderPartial('_form', array('model' => $model, 'ads_sort' => $ads_sort)); ?>    </div>
</div>
<div class="clear"></div>